/**
 * 自定义配置，可自行在common\http.interceptor.js 里面添加编写额外的配置逻辑
 * @typedef {Object} options.custom 
 * @property {string} requiresAuth - 设置登录鉴权
 * @property {string} loading - 显示loading
 * @property {string} customLoginLogic - 自定义处理登录逻辑，设置true，则自己再页面处理未登录的逻辑
 */

export default {
	// getOrder: (params = {}, options = {}) => uni.$u.http.get('/Order/getOrder?id=' + params.id, options),
    
	// 获取首页banner数据
	getBannerData: (params = {}, options = {}) => uni.$u.http.post('/index/rapi/home_index_img', params, { custom : { }, ...options}),
    
	// 获取房间信息
	user_room_xq_json: (params = {}, options = {}) => uni.$u.http.post('/index/rapi/user_room_xq_json', params, { custom : { requiresAuth: true }, ...options}),
    
	
}
